package com.qianbei.user.login;

import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

import com.qianbei.R;
import com.qianbei.common.base.BaseActivity;

public class LogginShowActivity extends BaseActivity {

	private String mTarget;
	private String mClassName = "com.qianbei.home.HomActivity";
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.loginshow_activity);
		setTitle("使用说明");
		mTitle.setLeftImg(R.drawable.ic_close);
		
		mTarget = getIntent().getStringExtra("targetClass");
		
		findViewById(R.id.show_ok).setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				doAction();
			}
		});
	}
	
	@Override
	public void fClick(int id) {
		switch (id) {
		case R.id.title_left:
			doAction();
			break;
		default:
			break;
		}
	}
	
	public void doAction(){
		if(mClassName.equals(mTarget)){
		}
		finish();
	}
	
}
